import { defineConfig } from '@umijs/max';
import routes from './routes';

export default defineConfig({
  dva: {},
  antd: {},
  access: {},
  model: {},
  initialState: {},
  request: {},
  layout: {
    title: 'Api测试系统',
  },
  routes,
  npmClient: 'npm',
  proxy: {
    '/api': {
      'target': 'http://localhost:8186',
      'changeOrigin': true,
      'pathRewrite': { '^/api' : '' },
    },
  },
});

